package com.yiren.dbaa.constant;

/**
 * @author lwb
 * @date :2021/12/20 9:54
 * @description: 网络Code
 */
public class NetworkOperCode {

    /**
     * 请求服务器
     */
    public static final int REQUEST_SERVER = 0;

    /**
     * 响应服务器
     */
    public static final int RESPONSE_SERVER = 1;

    /**
     * 请求服务器出错
     */
    public static final int REQUEST_SERVER_ERROR = 2;

    /**
     * 请求服务器网络超时
     */
    public static final int REQUEST_NETWORK_TIMEOUT = 3;

    /**
     * 请求服务器网络错误
     */
    public static final int REQUEST_NETWORK_ERROR = 4;

    /**
     * 服务器繁忙
     */
    public static final int RESPONSE_SERVER_ERROR = 5;

    /**
     * 文件路径或IO流解析出错
     */
    public static final int FILE_IO_ERROR = 6;

    /**
     * 文件已存在
     */
    public static final int FILE_EXISTS = 7;

    /**
     * 线程已销毁
     */
    public static final int STOP_THREAD = 8;

    /**
     * 响应服务器
     */
    public static final int OSS_RESPONSE_SERVER = 9;

    /**
     * 指令失效
     */
    public static final int ACCESS_TOKEN = 10;

    /**
     * 下载数据失败
     */
    public static final int DOWNLOAG_FAILURE = 11;

    /**
     * 该考场还未被官方审核通过，不允许下载
     */
    public static final int DONT_DOWNLOAG = 12;

    /**
     * 获取个人信息后，调用jpush
     */
    public static final int DONT_JPUSH = 13;

    /**
     * 系统时间不正确
     */
    public static final int SYSTEM_TIME = 14;

    /**
     * oss错误
     */
    public static final int OSS_ERROR = 15;

    /**
     * 车辆使用时间到
     */
    public static final int CAR_USR_TIME_STOP = 1000080;

    /**
     * 响应服务器
     */
    public static final int RESPONSE_CODE_200 = 200;

    /**
     * Res_Error_Code
     */
    public static final int ERROR_CODE_400 = 400;
    public static final int ERROR_CODE_401 = 401;
    public static final int ERROR_CODE_403 = 403;
    public static final int ERROR_CODE_404 = 404;
    public static final int ERROR_CODE_408 = 408;
    public static final int ERROR_CODE_500 = 500;
    public static final int ERROR_CODE_501 = 501;
    public static final int ERROR_CODE_502 = 502;
    public static final int ERROR_CODE_504 = 504;

}
